package com.yuyou.tas.admin.service;

import com.yuyou.tas.service.api.admin.dto.AuthUserSectionDTO;
import com.yuyou.tas.service.api.admin.entity.AuthUserSection;

import java.util.List;
import java.util.Set;

public interface IAuthUserSectionService {
    int deleteByPrimaryKey(Long id);

    int insert(AuthUserSection record);

    AuthUserSection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthUserSection record);

    List<AuthUserSectionDTO> findSectionByUserId(Long authUserId);

    List<AuthUserSectionDTO> findSectionByUserIds(List<Long> authUserIds);

	Set<Long> findUniSectionByUserId(Long userId);

    AuthUserSection findSectionByUserIdSubjectId(Long authUserId, Long dataSubject);

    Integer findCountByParams(Long authUserId, Long dataSubject,Long sectionId);
}